﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Brain
{
    public class AttributeCollection : Dictionary<string, object>
    {
        public AttributeCollection()
        {
        }

        public T GetValue<T>(string key)
        {
            if (this.ContainsKey(key))
            {
                return (T)this[key];
            }
            return default(T);
        }
    }
}
